home *** CD-ROM | disk | FTP | other *** search
/ Over 1,000 Windows 95 Programs / Over 1000 Windows 95 Programs (Microforum) (Disc 2).iso / 0297 / install.bak < prev    next >
Encoding:
INSTALL Professional project  |  1997-03-31  |  35.7 KB  |  1,124 lines

  1. /*
  2.       INSTALL.DAT  Copyright 1994-1997 David Berman Developments Inc.
  3.  
  4.       This is the INSTALL.DAT script file for installing TimeWise Light from a download.
  5.  
  6.         To install TimeWise Light, type INSTALL at the DOS prompt or at the
  7.         Windows Run command (from the File menu). */
  8.  
  9.  
  10. /* set defaults: product name, major version number, default destination drive,
  11.    default directory, default group of things to install, @immediate means execute
  12.    instructions immediately, @requires @harddisk means install won't run if hard disk
  13.    not present, @verify means verify files while copying, @indiskbell means beep when
  14.    prompting for next disk */
  15.  
  16. @DefineProject
  17.     @Name           = "TimeWise Light"
  18.     @Version        = "5"
  19.     @OutDrive       = C
  20.     @Subdir         = "TimeWise"
  21.     @Group          = "A"
  22.     @Immediate = 1
  23.     @Requires @HardDisk
  24.     @Verify
  25.     @InDiskBell     = @TRUE
  26. @EndProject
  27.  
  28.  
  29. @DefineVars
  30.     @QString @Launch ="No"
  31.     @QString @Replace ="Yes"
  32.     @QString @Modify ="Yes"
  33.     @QString @OldVersion ="0"
  34.  
  35.     @Integer @Exam       = 150
  36.     @Integer @Util       = 175
  37.     @Integer @Isrc       = 1300
  38.     @Integer @Wsrc       = 3100
  39.     @Integer @DDB        = 200
  40.     @Integer @Help       = 700
  41.     @Integer @TSIZE      = @Eval(@Exam+@Util+@Isrc+@Wsrc+@DDB+@help+475)
  42.     @Integer @Red        = @RGB(255,0,0)             //DEFINE COLOR RED
  43.     @Integer @Green      = @RGB(0,255,0)             //DEFINE COLOR GREEN
  44.     @Integer @Blue       = @RGB(0,0,255)             //DEFINE COLOR BLUE
  45.     @Integer @Black      = @RGB(0,0,0)               //DEFINE COLOR BLACK
  46.     @Integer @V               = @VideoCard
  47. @If(@Platform != 3)
  48.     @Qstring @TTEnable   = "N/A"
  49.     @Qstring @DiskAccess = "N/A"
  50.     @Qstring @MDriver    = "N/A"
  51.     @Qstring @NetDriver  = "N/A"
  52.     @Qstring @DispDriver = "N/A"
  53.     @Qstring @WinShell   = "N/A"
  54.     @Qstring @WallPaper  = "N/A"
  55.     @Qstring @PSwapFile  = "N/A"
  56.     @Qstring @PSwapSize  = "N/A"
  57. @Else
  58.     @Qstring @TTEnable   = "@GetINI("TrueType","TTEnable")"
  59.     @Qstring @DiskAccess = "@GetINI("386enh","32BitDiskAccess","system.ini")"
  60.     @Qstring @MDriver    = "@GetINI("boot.description","mouse.drv","system.ini")"
  61.     @Qstring @NetDriver  = "@GetINI("boot","network.drv","system.ini")"
  62.     @Qstring @DispDriver = "@GetINI("boot","display.drv","system.ini")"
  63.     @Qstring @WinShell   = "@GetINI("boot","shell","system.ini")"
  64.     @Qstring @WallPaper  = "@GetINI("desktop","wallpaper")"
  65.     @Qstring @PSwapFile  = "@GetINI("386Enh","PermSwapDOSDrive","system.ini")"
  66.     @Qstring @PSwapSize  = "@GetINI("386Enh","PermSwapSizeK","system.ini")"
  67. @EndIf
  68. @EndVars
  69.  
  70. @BackgroundMode(3,@Blue,@Black)
  71.  
  72. @Display
  73.   I N S T A L L
  74.         TimeWise Light Install / Uninstall Program
  75.         (c) 1997 David Berman Developments Inc.
  76.                     @pause
  77.     @cls
  78.     --------------------------------------------------------------------------------------------------
  79.     INSTALL: INSTALLATION PROGRAM FOR TIMEWISE LIGHT
  80.     --------------------------------------------------------------------------------------------------
  81.  
  82.     This program installs TimeWise Light on your computer,
  83.     while verifying the integrity of all files.
  84.  
  85.     You can click Cancel or press the Esc key at any time to stop.
  86.  
  87.     INSTALL also gives you the choice of installing only selected portions
  88.     of TimeWise Light, or to remove it from your computer.
  89.  
  90.     Each question has a suggested answer. If the suggested answer is
  91.     appropriate, click OK or press the Enter key to accept.
  92.  
  93.  
  94.  
  95.                     @pause
  96. @EndDisplay
  97.  
  98.  
  99. @Display
  100. @LocalWindow(10,40)
  101.     @cls
  102.     --------------------------------------------------------------------------------------------------
  103.     TIMEWISE LIGHT INSTALL: DISCLAIMER
  104.     --------------------------------------------------------------------------------------------------
  105.  
  106.     This software is provided 'as is' without express or implied warranty.
  107.     The publisher disclaims any warranties of merchantability or fitness for purpose.
  108.     In no event will David Berman Developments Inc. be liable for damages, including
  109.     but not limited to lost profits or savings,
  110.     incidental or consequential damages resulting from lost data, software
  111.     or computer failure, or for any other claim by any party.
  112.  
  113.     If you accept these terms, click OK or press the Enter key.
  114.     If you do not accept these terms, click Cancel or press the Esc key.
  115.  
  116.  
  117.  
  118.                     @pause
  119. @EndDisplay
  120.  
  121.  
  122. @Display
  123.  
  124. @LocalWindow(10,40)
  125.     @Cls
  126.     --------------------------------------------------------------------
  127.     YOUR COMPUTER CONFIGURATION
  128.     --------------------------------------------------------------------
  129.     INSTALL has detected that your computer has these attributes:
  130.     Conventional memory installed:  @RAMTotal /*  Available:  @RAMAvail */
  131.     Extended memory installed:     @ExtTotal  /* Available: @ExtAvail */
  132.     Expanded memory installed:     @EMMTotal  /* Available: @EMMAvail */
  133.     Processor: @CPU starting up from drive @BootDrive.
  134. @If (@VideoMonitor == 'M')     Display: Monochrome monitor.
  135. @ElseIf (@VideoMonitor == 'C')     Display: Colour monitor with @VideoRAM@!K of RAM.
  136. @Else
  137.     Display: EGA or VGA monitor with at least @VideoRAM@!K of RAM.
  138. @EndIf
  139. @If (@NDP != 0)    Math co-processor installed.
  140. @EndIf
  141. @If (@NetBIOS != 0)    This computer appears to be attached to a network.
  142. @EndIf                                     @pause
  143.  
  144. @EndDisplay
  145. TRYAGAIN:
  146. @GetOutDrive
  147.    @If(@Platform == 3)
  148.     @DlgCtrlSize(0,7,4,14,15)
  149.    @Else
  150.     @LocalWindow(10,40)
  151.    @EndIf
  152.  
  153.    @Suppress A
  154.    @Suppress B
  155.    @Cls
  156.     --------------------------------------------------------------------
  157.     CHOOSE THE DESTINATION DRIVE
  158.     --------------------------------------------------------------------
  159.  
  160.     Onto which hard drive do you wish to install?
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.     Choose which hard disk to install onto (or the drive on which TimeWise
  172.     is already installed). If unsure, press Enter or double-click Drive C.
  173.  
  174.     Select the disk of your choice, then click OK or press the Enter key.
  175. @Prompt=" Which drive? "
  176. @EndOutDrive
  177.  
  178. @GetGroups
  179.  
  180.    @If(@Platform == 3)
  181.     @DlgCtrlSize(0,7,4,11,35)
  182.    @Else
  183.     @LocalWindow(9,40)
  184.    @EndIf
  185.  
  186.    @Cls
  187.     --------------------------------------------------------------------
  188.     INSTALLATION TYPE
  189.     --------------------------------------------------------------------
  190.  
  191.     On this screen, specify what kind of installation you wish to do.
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.     Custom Install lets you specify which files you want to install and
  199.     in which directory they will be installed or uninstalled.
  200.  
  201.     Choose Express Install if you have doubts about what to do. Express
  202.     Install uses directory TimeWise, and no samples or templates.
  203.  
  204. /*    Network Install installs TimeWise as a network application.
  205. */
  206.     Move the bar with the mouse or arrow keys. Press Enter or
  207.     click OK when pleased with your selection. Press Esc to quit.
  208.  
  209.     @Set Z = "Custom Install"
  210.     @Set B = "Express Install"
  211. /*    @Set T = "Network Install (onto drive @OutDrive)" */
  212. @EndGroups
  213.  
  214.  
  215. @Display
  216.    @CLS
  217.     --------------------------------------------------------------------
  218.     AVAILABLE DISK SPACE ON DRIVE @OutDrive
  219.     --------------------------------------------------------------------
  220.  
  221.     @If (@DiskSize @OutDrive <5000000)
  222.     Disk drive @OutDrive is too small to hold TimeWise Light, no matter how
  223.     much disk space is free. Run INSTALL again, specifying a larger disk.
  224.                     @pause
  225.         @GoTo TRYAGAIN
  226.     @EndIf
  227.  
  228.     @If (@DiskFree @OutDrive <5000000)
  229.     Disk drive @OutDrive only has @DiskFree @OutDrive bytes of space free.
  230.  
  231.     TimeWise Light requires at least 5,000,000 bytes of free disk space.
  232.     CANCEL INSTALL, FREE UP MORE DISK SPACE, THEN RUN INSTALL AGAIN.
  233.  
  234.                     @pause
  235.         @Exit
  236.     @ElseIf (@DiskFree @OutDrive <7000000)
  237.     Disk drive @OutDrive has @DiskFree @OutDrive bytes of space free.
  238.  
  239.     While this is enough space to install TimeWise Light, you may have to
  240.     free up about 3,000,000 more bytes (3 megabytes) of space to launch
  241.     TimeWise Light after the program is installed.
  242.  
  243.                     @pause
  244.         @Cls
  245.     @Else
  246.     The selected disk has @DiskFree @OutDrive bytes of free space,
  247.     which will suit TimeWise Light just fine.
  248.  
  249.                     @pause
  250.         @EndIf
  251.  
  252. @If (@Exists "@OutDrive:\\ART\\ART.BAT")
  253.     @Subdir = "ART"
  254. @EndIf
  255.  
  256. @EndDisplay
  257.  
  258.  
  259. /*  If they chose Express Install above, Group B was turned on. This results in the following
  260. IF skipping the next series of screens, thus defaulting to drive C, directory TimeWise,
  261. no sample data, no setup template, no chance to uninstall, no startup group */
  262.  
  263.  
  264. @If ('B' [! @Group)
  265.  
  266.   @GetSubdir
  267.     @Cls
  268.     --------------------------------------------------------------------
  269.     CHOOSE THE DESTINATION DIRECTORY
  270.     --------------------------------------------------------------------
  271.  
  272.     Now specify the destination directory. This is the location on the
  273.     hard disk where TimeWise Light will be installed (or is already installed).
  274.     If you don't know what a "directory" is, you probably need not worry
  275.     about it, and should accept the suggestion of " @SubDir" by pressing
  276.     the Enter key or clicking on the OK button.
  277.  
  278.     @LocalWindow(12,49)
  279.     @Prompt = " Which directory? (Press Enter or click OK for @Subdir) "
  280.   @EndSubdir
  281.  
  282.   @If (@Exists "OutDrive:\\@Subdir")
  283.     @Copy("OutDrive:\\@Subdir","OutDrive:\\@Subdir.$$$")
  284.     @Delete("OutDrive:\\@Subdir")
  285.     @Display
  286.     The existing file @Subdir has been renamed @Subdir.$$$.
  287.                     @pause
  288.   @EndIf
  289.  
  290.   @Display
  291. /* If the file STUDIO.DBF exists, we can assume they are upgrading */
  292.   @If (@Exists "@OutDrive:\\@Subdir\\STUDIO.DBF")
  293.     @OldVersion = "3"
  294.     @cls
  295.     --------------------------------------------------------------------
  296.     EXISTING INSTALLATION DETECTED
  297.     --------------------------------------------------------------------
  298.  
  299.     A version of TimeWise or TimeWise Light is already
  300.     installed in directory @Subdir on Drive @OutDrive.
  301.  
  302.     If you continue to install this new version, the existing
  303.     version will be replaced by TimeWise Light version @Version.
  304.  
  305.     Existing TimeWise Light information is safe: it will not be
  306.     altered or overwritten unless you insist.
  307.     IF OVERWRITING TIMEWISE, SOME FEATURES WILL BE LOST!
  308.  
  309.                     @pause
  310.  
  311.     Please wait while I make a backup copy of existing program files...
  312.  
  313.     @Copy("@OutDrive:\\@SubDir\\timeww.exe","@OutDrive:\\@SubDir\\timeww.old")
  314.     @Copy("@OutDrive:\\@SubDir\\config.fpw","@OutDrive:\\@SubDir\\config.bkw")
  315.     @Copy("@OutDrive:\\@SubDir\\*.lbx","@OutDrive:\\@SubDir\\*.bkx")
  316.     @Copy("@OutDrive:\\@SubDir\\*.lbt","@OutDrive:\\@SubDir\\*.bkt")
  317.   @EndIf
  318.   @EndDisplay
  319.  
  320.  
  321.   @GetOption
  322.  
  323.  
  324.    @If(@Platform == 3)
  325.     @DlgCtrlSize(0,8,4,11,47)
  326.    @Else
  327.     @LocalWindow(9,40)
  328.    @EndIf
  329.  
  330.    @Cls
  331.     --------------------------------------------------------------------
  332.     PROCEED?
  333.     --------------------------------------------------------------------
  334.  
  335.     Do you wish to proceed with installation on directory @Subdir
  336.     of Drive @OutDrive?
  337.  
  338.  
  339.  
  340.  
  341.  
  342.     Move the bar with the UpArrow and DownArrow keys.
  343.     Press Enter or click OK when pleased with your choice.
  344.   @Option 1= "Yes. Proceed with directory @OutDrive:@!@Subdir."
  345.   @Option 2= "No. Cancel INSTALL."
  346.   @Prompt=" Proceed? "
  347.   @EndOption
  348.  
  349.     @If(2 [= @Option)
  350.  
  351.     @Display
  352.     @Cls
  353.  
  354.     Installation terminated by you.
  355.                     @Pause
  356.     @Exit
  357.     @EndDisplay
  358.     @EndIf
  359.  
  360.  
  361.   @GetGroups
  362.  
  363.    @If(@Platform == 3)
  364.     @DlgCtrlSize(0,7,4,12,64)
  365.    @Else
  366.     @LocalWindow(9,40)
  367.    @EndIf
  368.  
  369.    @Cls
  370.     ---------------------------------------------------------------------------
  371.     CHOOSE WHAT TO INSTALL (OR UNINSTALL)
  372.     ---------------------------------------------------------------------------
  373.  
  374.     Select the TimeWise Light configuration you wish to install (or uninstall).
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386. /*    If you don't have a TimeSave for Windows disk, don't choose to install it!.
  387. */
  388.     Move the bar with the UpArrow and DownArrow keys.
  389.     Press Enter or click OK when pleased with your choice, or Esc to quit.
  390.      @Set B = "Install or upgrade TimeWise Light."
  391. /*     @Set X = "Install or upgrade TimeSave for Windows as well."        */
  392.      @Set Z = "Do not install TimeWise Light program files (just information)."
  393.      @Set U = "Uninstall all products from this directory. Delete everything."
  394.   @Prompt=" Choose which Products to Install "
  395.   @EndGroups
  396.  
  397.  
  398.  
  399.   @If ('U' [= @Group)
  400.  
  401.    @GetOption
  402.  
  403.  
  404.    @If(@Platform == 3)
  405.     @DlgCtrlSize(0,10,4,13,70)
  406.    @Else
  407.     @LocalWindow(10,40)
  408.    @EndIf
  409.  
  410.    @Cls
  411.     --------------------------------------------------------------------
  412.     PROCEED WITH UNINSTALL?
  413.     --------------------------------------------------------------------
  414.  
  415.     You have requested to remove all TimeWise products from directory @Subdir
  416.     of Drive @OutDrive. THIS WILL ERASE ALL FILES! Are you absolutely
  417.     sure this is what you want to do?
  418.  
  419.  
  420.  
  421.  
  422.  
  423.     Move the bar with the UpArrow and DownArrow keys.
  424.     Press Enter or click OK when pleased with your choice.
  425.    @Option 2= "No. Cancel INSTALL."
  426.    @Option 1= "Yes. Remove everything from @OutDrive:@!@Subdir. Delete all files!"
  427.    @Prompt=" Are You Sure about Uninstalling? "
  428.    @EndOption
  429.  
  430.     @If(2 [= @Option)
  431.  
  432.     @Display
  433.     @Cls
  434.  
  435.     Installation terminated by you. TimeWise has NOT been removed.
  436.  
  437.     @Exit
  438.     @EndDisplay
  439.     @EndIf
  440. /* remove all readonly attributes before trying to delete files */
  441.    @ChMod("@OutDrive:\\@SubDir\\*.*","r-")
  442.    @Delete("@OutDrive:\\@SubDir\\*.*")
  443.    @Delete("@OutDrive:\\@SubDir\\INVOICE\\*.*")
  444.    @Delete("@OutDrive:\\@SubDir\\ORIGINAL\\*.*")
  445.    @Delete("@OutDrive:\\@SubDir\\SAMPLES\\*.*")
  446.    @RmDir("@OutDrive:\\@SubDir\\INVOICE")
  447.    @RmDir("@OutDrive:\\@SubDir\\ORIGINAL")
  448.    @RmDir("@OutDrive:\\@SubDir\\SAMPLES")
  449. /* we purposely do not delete the files in \SBT as they may need them for SBT...the attempt
  450.    to remove the SBT directory will intentionally fail without notice if there are any files there. */
  451.    @RmDir("@OutDrive:\\@SubDir\\SBT")
  452.    @RmDir("@OutDrive:\\@SubDir")
  453.    @Display
  454.     --------------------------------------------------------------------
  455.     TIMEWISE SUCCESSFULLY UNINSTALLED
  456.     --------------------------------------------------------------------
  457.  
  458.  
  459.     All files in the directory @SubDir of drive @OutDrive have been
  460.     deleted, and the directory @SubDir and all its subdirectories have
  461.     been removed, if possible.
  462.  
  463.        Changes made to AUTOEXEC.BAT and CONFIG.SYS by INSTALL have NOT been
  464.        restored. You must do this by hand.
  465.  
  466.        If data existed in the SBT subdirectory, it is intact.
  467.  
  468.  
  469.                     @Pause
  470.    @EndDisplay
  471.    @Exit
  472.   @EndIf
  473.  
  474.   @GetOption
  475.  
  476.  
  477.    @If(@Platform == 3)
  478.     @DlgCtrlSize(0,9,4,12,56)
  479.    @Else
  480.     @LocalWindow(11,40)
  481.    @EndIf
  482.  
  483.    @Cls
  484.     --------------------------------------------------------------------
  485.     INSTALL A SETUP TEMPLATE?
  486.     --------------------------------------------------------------------
  487.  
  488.     Setup templates allow you to structure your TimeWise setup based on
  489.     the setup of a typical organization in your industry, rather than
  490.     having to customize and set preferences from scratch.
  491.  
  492.  
  493.  
  494.  
  495.  
  496.  
  497.     IF UPGRADING, DO NOT INSTALL A SETUP TEMPLATE UNLESS YOU
  498.     WISH TO OVERWRITE ALL OF THE CUSTOMIZING AND PREFERENCES
  499.     YOU HAVE ALREADY ESTABLISHED!!!
  500.  
  501.  
  502.  
  503.     Move the bar with the UpArrow and DownArrow keys.
  504.     Press Enter or click OK when pleased with your choice.
  505.   @Option 1= "No. Do not install a Setup Template."
  506.   @Option 2= "Yes. Let me choose from a list of Setup Templates."
  507.   @Prompt=" Choose a Setup Template? "
  508.   @EndOption
  509.  
  510.   @If(2 [= @Option)
  511.  
  512.   @GetGroups
  513.  
  514.  
  515.    @If(@Platform == 3)
  516.     @DlgCtrlSize(0,9,4,15,65)
  517.    @Else
  518.     @LocalWindow(15,40)
  519.    @EndIf
  520.    @Cls
  521.     --------------------------------------------------------------------
  522.     SETUP TEMPLATE MENU
  523.     --------------------------------------------------------------------
  524.  
  525.     Select the Setup Template that resembles your organization. If you
  526.     don't choose one, you can design your own in TimeWise.
  527.     IF UPGRADING, DO NOT INSTALL A SETUP TEMPLATE!
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.     Move the bar with the UpArrow and DownArrow keys.
  541.     Press Enter or click OK when pleased with your choice.
  542.     @Set Z = "Do not install a setup template."
  543.     @Set D = "Install the setup template for design / publishing firms."
  544.     @Set E = "Install the setup template for advertising agencies."
  545.     @Set F = "Install the setup template for service bureaus."
  546.     @Set J = "Install the setup template for commercial printers."
  547.     @Set H = "Install the setup template for quick printers."
  548.     @Set I = "Install the setup template for screen printers."
  549.     @Set G = "Install the setup template for software developers."
  550.     @Set K = "Install the setup template for photographers and labs."
  551.   @Prompt=" Choose a Setup Template "
  552.   @EndGroups
  553.   @EndIf
  554.  
  555.   @GetGroups
  556. /* The GetGroups command captures there selection of a "Set" for later processing of which files to install */
  557.  
  558.    @If(@Platform == 3)
  559.     @DlgCtrlSize(0,7,4,10,44)
  560.    @Else
  561.     @LocalWindow(8,40)
  562.    @EndIf
  563.  
  564.    @Cls
  565.     --------------------------------------------------------------------
  566.     SAMPLE INFORMATION
  567.     --------------------------------------------------------------------
  568.  
  569.     If you wish to install the sample information, choose to do so now.
  570.  
  571.  
  572.  
  573.  
  574.  
  575.     Sample information will help you understand TimeWise by allowing you
  576.     to play with the program using job history from a fictitious company.
  577.     The sample information will work with any setup template. Once you
  578.     have played with it, you will want to discard the sample information
  579.     before you begin to use TimeWise for your organization. The sample
  580.     information will be discarded at your convenience using a feature
  581.     found in TimeWise (the Load command from the Setup menu).
  582.  
  583.  
  584.     Move the bar with the UpArrow and DownArrow keys.
  585.     Press Enter or click OK when pleased with your selection.
  586.     @Set P = "No. Do not install sample information."
  587.     @Set W = "Yes. Install sample information."
  588.   @Prompt=" Install Sample Information? "
  589.   @EndGroups
  590.  
  591. /*The automatic launch section should result in putting TimeWise in the Startup Group*/
  592.  
  593. /*  @GetGroups
  594.  
  595.    @If(@Platform == 3)
  596.     @DlgCtrlSize(0,9,4,12,56)
  597.    @Else
  598.     @LocalWindow(9,40)
  599.    @EndIf
  600.  
  601.    @Cls
  602.     --------------------------------------------------------------------
  603.     AUTOMATIC LAUNCH
  604.     --------------------------------------------------------------------
  605.  
  606.     Do you wish TiemWise Light to automatically launch when the computer is
  607.     turned on?
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.     The AUTOEXEC.BAT file of this computer can be modified so that
  615.     TimeWise Light automatically launches when the computer is turned on.
  616.     This is convenient if you use the computer mainly or exclusively with
  617.     TimeWise.
  618.  
  619.  
  620.  
  621.     Move the bar with the UpArrow and DownArrow keys.
  622.     Press Enter or click OK when pleased with your choice.
  623.     @Set N= "No. Do not automatically launch TimeWise Light."
  624.     @Set Y= "Yes. Automatically launch TimeWise Light when the computer is turned on."
  625.   @Prompt=" Automatic Launch? "
  626.   @EndGroups  */
  627.  
  628. @EndIf  /*  This EndIf is for Express Install */
  629.  
  630. @Display
  631. @Cls
  632.     --------------------------------------------------------------------
  633.     PREPARING FOR INSTALLATION
  634.     --------------------------------------------------------------------
  635.  
  636.     Please wait while INSTALL prepares the computer for installation.
  637.  
  638.     Now is a good time to fill in your registration card and send it in.
  639.  
  640. @EndDisplay
  641.  
  642. @Display
  643.  
  644.     Clearing read-only attributes...
  645. @EndDisplay
  646.   @ChMod("@OutDrive:\\@SubDir\\*.*","r-")
  647.  
  648. @Display
  649.     Deleting temporary files...
  650. @EndDisplay
  651. /* temporary files left over from the last time install was run are deleted... */
  652.   @Delete("@OutDrive:\\@SubDir\\assign1.*")
  653.   @Delete("@OutDrive:\\@SubDir\\clients1.*")
  654.   @Delete("@OutDrive:\\@SubDir\\newusert.*")
  655.   @Delete("@OutDrive:\\@SubDir\\*.tmp")
  656. /* multi.dbf is deleted to be doubly sure it will be overwritten  */
  657.   @Delete("@OutDrive:\\@SubDir\\multi.dbf")
  658.  
  659. @Display
  660.     Creating Directory @OutDrive:\\@SubDir if it doesn't yet exist...
  661.   @MkDir("@OutDrive:\\@SubDir")
  662. /* Create mandatory subdirectories if they don't already exists. */
  663.   @MkDir("@OutDrive:\\@SubDir\\Invoice")
  664.   @MkDir("@OutDrive:\\@SubDir\\SBT")
  665.   @MkDir("@OutDrive:\\@SubDir\\Samples")
  666.   @MkDir("@OutDrive:\\@SubDir\\Original")
  667.  
  668. @EndDisplay
  669.  
  670. @Display
  671.     Creating custom batch files...
  672. @EndDisplay
  673. /*
  674.   @Write("@OutDrive:\\@Subdir\\tww.bat", "wt", "@@echo off\n")
  675.   @Write( , , "cls\n")
  676.   @Write( , , "@OutDrive:\n")
  677.   @Write( , , "cd\\@Subdir\n")
  678.  
  679.   @Write("@OutDrive:\\@Subdir\\tsw.bat", "wt", "@@echo off\n")
  680.   @Write( , , "cls\n")
  681.   @Write( , , "@OutDrive:\n")
  682.   @Write( , , "cd\\@Subdir\n")
  683. */
  684.  
  685. @DefineDisk
  686. @Label="TimeWise Light for Windows Disk 1"
  687.  
  688. /* The Group parameter indicates which groups need to be turned on for this file to be installed
  689.    BX results in the file always being installed unless they selected Do Not Install Any Program Files, since B is Express Setup or Install Or Upgrade TimeWise
  690.    and X is if they chose Install Or Upgrade TimeSave too. */
  691.  
  692. @File MULTI.DBF    @Group BX
  693. @File TWW.BAT      @AppendTo TWW.BAT
  694. @File TSW.BAT      @AppendTo TSW.BAT
  695.  
  696. /* BeginLib indicates the beginning of a clause where files are referred to that are contained
  697.    in a compressed file */
  698.  
  699. @BeginLib TIMEWW.RED
  700.  @File *.*         @Group BX
  701. @EndLib
  702.  
  703. @If (@Exists "@OutDrive:\\SubDir\\TIMESW.EXE")
  704.    @BeginLib TIMEWW.RED
  705. /* If TIMESW.EXE exists, it means they have a TimeSave license, so we upgrade their TimeSave as well,
  706.    even though they didn't have a TimeSave for Windows disk. We do this to avoid having to ship a
  707.    TimeSave for Windows disk every time we upgrade TimeWise. The next line causes TIMEWW.EXE to overwrite
  708.    the existing TIMESW.EXE. The Out clause allows the resulting name to differ from the source name. */
  709.     @File TIMEWW.EXE @Out TIMESW.EXE   @Group B
  710.    @EndLib
  711. @EndIf
  712.  
  713. @File CONFIG.FPW   @Group BX
  714.  
  715. @File FIRSTAID.BAT @Group BX
  716. @File TIMETOOW.EXE @Group BX
  717. @File NET.TXT      @Group BX
  718. /* We create a backup of NET.TXT called NET.TXB for use by Firstaid.bat */
  719. @File NET.TXT      @Out NET.TXB  @Group BX
  720.  
  721.  
  722. @BeginLib DISK1.RED
  723.   @File *.*        @Group BX
  724. @EndLib
  725.  
  726.  
  727.  
  728. @BeginLib TWOPEN.RED
  729.          @File TWOPEN.BMP  @Group BX
  730. @EndLib
  731.  
  732.  
  733. @BeginLib TWHLP.RED
  734.   @File *.*         @Group BX
  735. @EndLib
  736.  
  737.  
  738. /* We do a CRC check on the existing file...if it exists and the CRC matches, we don't have
  739.    to bother copying this huge file again...this speeds up the installation of maintenance
  740.    releases a lot. The Size parameter is optional and is used to approximate the amount of hard drive
  741.    space required for larger files. */
  742.  
  743. @If (@CRCFile("@OutDrive:\\@Subdir\\FOXW2600.ESL") != 37856)
  744.     @BeginLib FESL.RED
  745.          @File *.*   @Group BX              @Size 2100000
  746.     @EndLib
  747. @EndIf
  748.  
  749. @BeginLib DISK3.RED
  750.       @File *.*   @Group BX           @Size 40000
  751. @EndLib
  752.  
  753. @BeginLib TMP.RED
  754.       @File *.*                       @Size 30000
  755. @EndLib
  756.  
  757. @If (@CRCFile("@OutDrive:\\@Subdir\\PKZIP.EXE") != 12821)
  758.     @File PKZIP.EXE    @Group BX   @CRC 12821
  759. @EndIf
  760.  
  761. @If (@CRCFile("@OutDrive:\\@Subdir\\PKUNZIP.EXE") != 21993)
  762.     @File PKUNZIP.EXE  @Group BX   @CRC 21993
  763. @EndIf
  764.  
  765.  
  766.  
  767.  
  768. /* The sample files are only installed if Group W (install sample files).
  769.    Also, the @AskOverwrite clause causes a warning question whether to really overwrite
  770.    if the file already exists. This is to avoid someone upgrading accidentally overwriting
  771.    all their valuable data. */
  772.  
  773. @BeginLib SAMPLES.RED
  774. @File ASSIGN.DBF   @Out @Subdir\*.* @AskOverwrite   @Group W  @Size 15530
  775. @File ASSIGN.DBT   @Out @Subdir\*.* @AskOverwrite   @Group W
  776. @File ASSNCOUR.DBF @Out @Subdir\*.* @AskOverwrite   @Group W
  777. /* @File ASSNMAT.DBE  @Out @Subdir\*.* @AskOverwrite   @Group W
  778.    @File ASSNCOUR.DBE @Out @Subdir\*.* @AskOverwrite   @Group W  */
  779. @File ASSNMAT.DBF  @Out @Subdir\*.* @AskOverwrite   @Group W
  780. @File ASSNTIME.DBF @Out @Subdir\*.* @AskOverwrite   @Group W  @Size 15360
  781. @File CLIENTS.DBF  @Out @Subdir\*.* @AskOverwrite   @Group W  @Size 15360
  782. @File CLIENTS.DBT  @Out @Subdir\*.* @AskOverwrite   @Group W
  783. @File COURIER1.DBF @Out @Subdir\*.* @AskOverwrite   @Group W
  784. @File COURIER2.DBF @Out @Subdir\*.* @AskOverwrite   @Group W
  785. @File EMPLOYEE.DBF @Out @Subdir\*.* @AskOverwrite   @Group W  @Size 8206
  786. @File FORM.DBF     @Out @Subdir\*.* @AskOverwrite   @Group W
  787. @File FORM.DBT     @Out @Subdir\*.* @AskOverwrite   @Group W
  788. @File MILE.DBF     @Out @Subdir\*.* @AskOverwrite   @Group W
  789. @File QUERY.DBF    @Out @Subdir\*.* @AskOverwrite   @Group W
  790. @File STUDIO.DBF   @Out @Subdir\*.* @AskOverwrite   @Group W
  791. @File VENDORS.DBF  @Out @Subdir\*.* @AskOverwrite   @Group W
  792. @File VENDORS.DBT  @Out @Subdir\*.* @AskOverwrite   @Group W
  793. @File PREF.DBF     @Out @Subdir\*.* @AskOverwrite   @Group W
  794. @File MATPRICE.DBF @Out @Subdir\*.* @AskOverwrite   @Group W @Size 11264
  795. @File RATES.DBF    @Out @Subdir\*.* @AskOverwrite   @Group W
  796. @EndLib
  797.  
  798.  
  799. /* Put sample data into Samples directory */
  800. @BeginLib SAMPLES.RED
  801. @File *.*   @Out @Subdir\Samples\*.* @Overwrite
  802. @EndLib
  803.  
  804.  
  805.  
  806. /* Each setup template compressed file is expanded if the appropriate Group was selected */
  807.  
  808. @BeginLib DESIGN.RED
  809. @File PREF.DBF     @Out @Subdir\*.*    @Group D
  810. @File MATPRICE.DBF @Out @Subdir\*.*    @Group D
  811. @File RATES.DBF    @Out @Subdir\*.*    @Group D
  812. @EndLib
  813.  
  814. @BeginLib AD.RED
  815. @File PREF.DBF         @Out @Subdir\*.*    @Group E
  816. @File MATPRICE.DBF     @Out @Subdir\*.*    @Group E
  817. @File RATES.DBF        @Out @Subdir\*.*    @Group E
  818. @EndLib
  819.  
  820. @BeginLib TYPE.RED
  821. @File PREF.DBF       @Out @Subdir\*.*    @Group F
  822. @File MATPRICE.DBF   @Out @Subdir\*.*    @Group F
  823. @File RATES.DBF      @Out @Subdir\*.*    @Group F
  824. @EndLib
  825.  
  826. @BeginLib PRINT.RED
  827. @File PREF.DBF      @Out @Subdir\*.*    @Group J
  828. @File MATPRICE.DBF  @Out @Subdir\*.*    @Group J
  829. @File RATES.DBF     @Out @Subdir\*.*    @Group J
  830. @EndLib
  831.  
  832. @BeginLib QPRINT.RED
  833. @File PREF.DBF     @Out @Subdir\*.*    @Group H
  834. @File MATPRICE.DBF @Out @Subdir\*.*    @Group H
  835. @File RATES.DBF    @Out @Subdir\*.*    @Group H
  836. @EndLib
  837.  
  838. @BeginLib SPRINT.RED
  839. @File PREF.DBF     @Out @Subdir\*.*    @Group I
  840. @File MATPRICE.DBF @Out @Subdir\*.*    @Group I
  841. @File RATES.DBF    @Out @Subdir\*.*    @Group I
  842. @EndLib
  843.  
  844. @BeginLib SOFT.RED
  845. @File PREF.DBF       @Out @Subdir\*.*    @Group G
  846. @File MATPRICE.DBF   @Out @Subdir\*.*    @Group G
  847. @File RATES.DBF      @Out @Subdir\*.*    @Group G
  848. @EndLib
  849.  
  850. @BeginLib PHOTO.RED
  851. @File PREF.DBF      @Out @Subdir\*.*    @Group K
  852. @File MATPRICE.DBF  @Out @Subdir\*.*    @Group K
  853. @File RATES.DBF     @Out @Subdir\*.*    @Group K
  854. @EndLib
  855.  
  856.  
  857. /* The empty files are installed as long as no other file already exists. Hence,
  858.    existing data, setup templates, or sample data take precedence. */
  859.  
  860. @If ('W' [! @Group)
  861.  @File PREF.DBF     @NoOverwrite
  862.  @File MATPRICE.DBF @NoOverwrite
  863.  @File RATES.DBF    @NoOverwrite
  864.  @File ASSIGN.DBF   @NoOverwrite
  865.  @File ASSIGN.DBT   @NoOverwrite
  866.  @File ASSNCOUR.DBF @NoOverwrite
  867.  @File ASSNMAT.DBF  @NoOverwrite
  868.  @File ASSNTIME.DBF @NoOverwrite
  869.  @File CLIENTS.DBF  @NoOverwrite
  870.  @File CLIENTS.DBT  @NoOverwrite
  871.  @File COURIER1.DBF @NoOverwrite
  872.  @File COURIER2.DBF @NoOverwrite
  873.  @File EMPLOYEE.DBF @NoOverwrite
  874.  @File FORM.DBF     @NoOverwrite
  875.  @File FORM.DBT     @NoOverwrite
  876.  @File MILE.DBF     @NoOverwrite
  877.  @File QUERY.DBF    @NoOverwrite
  878.  @File STUDIO.DBF   @NoOverwrite
  879.  @File VENDORS.DBF  @NoOverwrite
  880.  @File VENDORS.DBT  @NoOverwrite
  881. @EndIf
  882.  @File PHASES.DBF   @NoOverwrite
  883.  @File USERTEXT.DBF @NoOverwrite
  884.  @File USERTEXT.DBT @NoOverwrite  @Size 17971
  885.  @File CALEVENT.DBF @NoOverwrite  @Size 18000
  886.  
  887.  
  888. /* Put empty databases in Original directory (all *.db? except multi.dbf) */
  889.  @File PREF.DBF     @Out @Subdir\Original\*.* @Overwrite
  890.  @File MATPRICE.DBF @Out @Subdir\Original\*.* @Overwrite
  891.  @File RATES.DBF    @Out @Subdir\Original\*.* @Overwrite
  892.  @File ASSIGN.DBF   @Out @Subdir\Original\*.* @Overwrite
  893.  @File ASSIGN.DBT   @Out @Subdir\Original\*.* @Overwrite
  894.  @File ASSNCOUR.DBF @Out @Subdir\Original\*.* @Overwrite
  895.  @File ASSNMAT.DBF  @Out @Subdir\Original\*.* @Overwrite
  896.  @File ASSNTIME.DBF @Out @Subdir\Original\*.* @Overwrite
  897.  @File CLIENTS.DBF  @Out @Subdir\Original\*.* @Overwrite
  898.  @File CLIENTS.DBT  @Out @Subdir\Original\*.* @Overwrite
  899.  @File COURIER1.DBF @Out @Subdir\Original\*.* @Overwrite
  900.  @File COURIER2.DBF @Out @Subdir\Original\*.* @Overwrite
  901.  @File EMPLOYEE.DBF @Out @Subdir\Original\*.* @Overwrite
  902.  @File FORM.DBF     @Out @Subdir\Original\*.* @Overwrite
  903.  @File FORM.DBT     @Out @Subdir\Original\*.* @Overwrite
  904.  @File MILE.DBF     @Out @Subdir\Original\*.* @Overwrite
  905.  @File QUERY.DBF    @Out @Subdir\Original\*.* @Overwrite
  906.  @File STUDIO.DBF   @Out @Subdir\Original\*.* @Overwrite
  907.  @File VENDORS.DBF  @Out @Subdir\Original\*.* @Overwrite
  908.  @File VENDORS.DBT  @Out @Subdir\Original\*.* @Overwrite
  909.  @File PHASES.DBF   @Out @Subdir\Original\*.* @Overwrite
  910.  @File USERTEXT.DBF @Out @Subdir\Original\*.* @Overwrite
  911.  @File USERTEXT.DBT @Out @Subdir\Original\*.* @Overwrite
  912.  @File CALEVENT.DBF @Out @Subdir\Original\*.* @Overwrite
  913.  
  914.  
  915. /* Since empty .DBEs are identical to empty .DBFs, we copy them
  916.    over rather than having to put DBEs on distribution disk. */
  917.  @File ASSNCOUR.DBF @NoOverwrite  @Out ASSNCOUR.DBE
  918.  @File ASSNMAT.DBF  @NoOverwrite  @Out ASSNMAT.DBE
  919.  @File ASSNTIME.DBF @NoOverwrite  @Out ASSNTIME.DBE
  920.  
  921.  @File R.EXE        @Overwrite
  922.  @File TWOPENBW.BMP @Overwrite
  923.  @File REGISTER.TXT @Overwrite
  924.  @File WORKBOOK.EXE @Overwrite
  925.  
  926. @EndDisk
  927.  
  928. @If ('X' [= @Group)
  929.     @Chain("TimeSave for Windows","INSTALW4.DAT")
  930. @EndIf
  931.  
  932. /* SetAutoexec offers to change autoexec to add TimeWise directory to the path */
  933. @SetAutoexec
  934.     @AskOverwrite
  935.     @Path = "@OutDrive:\\@Subdir"
  936. @EndAutoexec
  937.  
  938. /*
  939. @GetString @Launch
  940.     If you will be launching @Name from Windows or using the DOS Shell
  941.     you will probably need additional files. If you claim to be
  942.     using either of these tools now, INSTALL will recommend installing more
  943.     FILES in the CONFIG.SYS file than INSTALL otherwise would. The only
  944.     possible disadvantage to this is that additional FILES will consume up
  945.     to 10K more memory (RAM).
  946.  
  947.     @Prompt = "Are you using Windows or the DOS Shell?"
  948.     @Default = "No"
  949. @EndString
  950. */
  951.  
  952. @Display
  953.     @Cls
  954.     --------------------------------------------------------------------
  955.     ABOUT THE AUTOEXEC.BAT FILE
  956.     --------------------------------------------------------------------
  957.  
  958.     Soon you will be asked if it is OK to modify your AUTOEXEC.BAT file.
  959.  
  960.     The AUTOEXEC.BAT file's PATH command in the would be altered to
  961.     ensure that @Name can be launched at any time.
  962.  
  963.     You may not wish to let INSTALL modify the AUTOEXEC.BAT file. Perhaps
  964.     you have a system administrator who prefers to modify these files
  965.     by hand. If you choose NOT to have it modified, INSTALL will display
  966.     the changes to be made manually. Please note these changes and
  967.     be sure that someone makes them.
  968.  
  969.                     @pause
  970.  
  971. @EndDisplay
  972.  
  973. @Display
  974.     @Cls
  975.     --------------------------------------------------------------------
  976.     ABOUT THE CONFIG.SYS FILE
  977.     --------------------------------------------------------------------
  978.  
  979.     You will also be asked if it is OK to modify your CONFIG.SYS file.
  980.     The CONFIG.SYS file must request 70 or more "file handles" for
  981.     @Name to launch properly. INSTALL can increase the number of file
  982.     handles, if necessary, by adding or changing the FILES command.
  983.  
  984.     You may not want INSTALL to modify the CONFIG.SYS file. Perhaps you
  985.     know that you require even more than 70 files, due to the needs
  986.     of a network server. If you choose NOT to modify, the changes which
  987.     must be made manually are shown. Please note these changes and
  988.     ensure someone makes them.
  989.  
  990.     If CONFIG.SYS is changed, you may have to restart the computer before
  991.     launching @Name for the first time.
  992.  
  993.                     @pause
  994. @EndDisplay
  995.  
  996. @SetConfig
  997.     @AskOverwrite
  998.  
  999.  
  1000. /*        @If (@Modify == 'Yes' | Launch == 'Yes')
  1001.         @Overwrite
  1002.     The CONFIG.SYS file will be modified, if necessary, to launch @Name.
  1003.         @Else
  1004.         @DiskProto
  1005.  
  1006.       @EndIf
  1007.  
  1008.     @ScreenProto   */
  1009.  
  1010. /*
  1011.     @If (@Launch =  "Yes" | @Launch ="Y")
  1012.         @Files = 80
  1013.         @Display
  1014.     The CONFIG.SYS file has been modified or suggested to include
  1015.     80 file handles.
  1016.         @EndDisplay
  1017.  
  1018.         @Else
  1019.         @Files = 70
  1020.         @Display
  1021.     The CONFIG.SYS file has been modified or suggested to include
  1022.     70 file handles.
  1023.         @EndDisplay
  1024.     @EndIf          */
  1025.         @Files = 70
  1026.  
  1027. @EndConfig
  1028.  
  1029.  
  1030.  
  1031. @Finish
  1032.  
  1033. @Cls
  1034. /*
  1035.     The following command is used to create the wINSTALL group and
  1036.     add the wINSTALL item to the Windows Program Manager.
  1037. */
  1038.  
  1039. @ProgramManager("[CreateGroup(TimeWise)][AddItem(@Outdrive:\\@Subdir\\TIMEWW.exe, @Name, @OutDrive:\\@SubDir\\timewise.ico, 0)][AddItem(@Outdrive:\\@Subdir\\FIRSTAID.bat,First Aid, @OutDrive:\\@SubDir\\firstaid.ico, 0)][AddItem(@Outdrive:\\@Subdir\\TIMETOOW.exe,TimeTool, @OutDrive:\\@SubDir\\timetool.ico, 0)][AddItem(@Outdrive:\\@Subdir\\TWHELP.hlp, TimeWise Help, @OutDrive:\\@SubDir\\help.ico, 0)][ShowGroup(TimeWise, 2)]")
  1040.  
  1041. /*
  1042. @If (@Exists "@OutDrive:\\@Subdir\\TIMESW.exe")
  1043.   @ProgramManager("[AddItem(@Outdrive:\\@Subdir\\TIMESW.exe,TimeSave,  @Outdrive:\\@Subdir\\timesave.ico, 0)][ShowGroup(TimeWise, 2)]")
  1044. @EndIf
  1045. */
  1046.  
  1047.  
  1048. /* change current drive and directory to where TimeWise is installed */
  1049.     @ChDrive @OutDrive
  1050.     @ChDir "@Subdir"
  1051.  
  1052.  
  1053. /* delete temporary files from previous conversions and files from previous versions
  1054.    no longer needed. The ones specifying directory Art are really ancient from when
  1055.    you had no choice but to install into a directory of that name. */
  1056.   @Delete("@OutDrive:\\@SubDir\\text.txt") @Delete("@OutDrive:\\@SubDir\\nettext.txt")
  1057.   /* @Delete("@OutDrive:\\@Subdir\\*.nta") @Delete("@OutDrive:\\@SubDir\\*.nte") */
  1058.   @Delete("@OutDrive:\\@SubDir\\*.idx")    @Delete("@OutDrive:\\@SubDir\\proapi16.exe")
  1059.   @Delete("@OutDrive:\\@SubDir\\install.exe")
  1060.   @Delete("@OutDrive:\\@SubDir\\help.txt")   @Delete("@OutDrive:\\@SubDir\\genhelp.txt")
  1061.   @Delete("@OutDrive:\\@SubDir\\custom.txt")   @Delete("@OutDrive:\\@SubDir\\foolish.txt")
  1062.   @Delete("@OutDrive:\\@SubDir\\invoice.txt")
  1063.   @Delete("@OutDrive:\\@SubDir\\arthelp.*")    @Delete("@OutDrive:\\@SubDir\\artback.bat")
  1064.   @Delete("@OutDrive:\\@SubDir\\artrest.bat")  @Delete("@OutDrive:\\@SubDir\\foxpro*.es?")
  1065.   @Delete("@OutDrive:\\@SubDir\\twuser.fpt")
  1066.   @Delete("@OutDrive:\\art.bat")
  1067.  
  1068.  
  1069. /* Set read only attributes on for all those files who need them on a network install.
  1070.    We put them on for single user installations too because it can't hurt and protects from
  1071.    accidental removal. Also sometimes we can't necessarily detect a network install. */
  1072.     @ChMod("@OutDrive:\\@SubDir\\INTRO1.OVL","r+")
  1073.        @ChMod("@OutDrive:\\@SubDir\\*.EXE","r+")
  1074.        @ChMod("@OutDrive:\\@SubDir\\*.BAT","r+")
  1075.        @ChMod("@OutDrive:\\@SubDir\\*.ES?","r+")
  1076.        @ChMod("@OutDrive:\\@SubDir\\twhelp.*","r+")
  1077.        @ChMod("@OutDrive:\\@SubDir\\config.fp*","r+")
  1078.        @ChMod("@OutDrive:\\@SubDir\\*.bmp","r+")
  1079.        @ChMod("@OutDrive:\\@SubDir\\*.fll","r+")
  1080.  
  1081.  
  1082.  
  1083.  
  1084. /* If a Network Installation was specified, files that must be readonly on network, but
  1085.    trouble if set readonly on non network are installed. We don't readonly twuser.* unless
  1086.    we have to because then single user installations can't put notes in the Calendar.
  1087.    We don't readonly *.hlp unless we have to because then single user installations can't
  1088.    annotate their hlp file. */
  1089. @If ('T' [= @Group)
  1090.     @ChMod("@OutDrive:\\@SubDir\\twuser.*","r+")
  1091.     @ChMod("@OutDrive:\\@SubDir\\*.hlp","r+")
  1092. @EndIf
  1093. /* Netbios detection is also a cue that we are dealing with a network. */
  1094. @If (@NetBIOS !=0)
  1095.     @ChMod("@OutDrive:\\@SubDir\\twuser.*","r+")
  1096.     @ChMod("@OutDrive:\\@SubDir\\*.hlp","r+")
  1097. @EndIf
  1098. @Cls
  1099.     --------------------------------------------------------------------
  1100.     INSTALLATION SUCCESSFUL
  1101.     --------------------------------------------------------------------
  1102. /*      @If (@RAMAvail < 425)
  1103.     The installation procedure has completed successfully.
  1104.  
  1105.        However, there is not enough RAM available for @Name to launch
  1106.        properly. Reduce your RAM use by removing TSR programs named in
  1107.        your AUTOEXEC.BAT or CONFIG.SYS files before attempting to launch
  1108.        @Name.
  1109.                     @pause
  1110.     @Abort
  1111.  
  1112.     @ElseIf (@RAMAvail < 475)  */
  1113.     The installation procedure has completed successfully.
  1114.     You can now leave INSTALL and try to launch @Name.
  1115.  
  1116.     If the CONFIG.SYS file was modified or requires modification, you may
  1117.     have to restart the computer before using @Name.
  1118.  
  1119.                     @pause
  1120.     @Reboot("Restarting your machine.",1)
  1121.  
  1122.  
  1123. @EndFinish
  1124.